/// <reference path="./namespacetest.ts" />
/// <reference path="./namespacetest2.ts" />
/// <reference path="./namespacetest3.ts" />


let teststrings = ["hello","9802","111"];
let testvalidators:{[s:string]:Validation2.StringValidator;} = {}
testvalidators["zip code"]= new Validation2.ZipCodeValidator;
testvalidators["letters only"] = new Validation2.LettersOnlyValidator();

for (let s of teststrings) {
  for (let name in testvalidators) {
      console.log(`"${ s }" - ${ testvalidators[name].isAcceptable(s) ? "matches" : "does not match" } ${ name }`);
  }
}